x86/mmiotrace: Lock down the testmmiotrace module
authorDavid Howells <dhowells@redhat.com>
Mon, 18 Feb 2019 12:45:01 +0000 (12:45 +0000)
committerSalvatore Bonaccorso <carnil@debian.org>
Sat, 7 Dec 2019 12:24:06 +0000 (12:24 +0000)
commit00cb07ad3c6381496da3c9ed2063a252b6dea7ca
treea22af32e42337998eb1feb539ad1ca4492c2db38
parent9637eec52cf3a1f6be703fdade5c82fc24f0ee1c
x86/mmiotrace: Lock down the testmmiotrace module

The testmmiotrace module shouldn't be permitted when the kernel is locked
down as it can be used to arbitrarily read and write MMIO space.

Suggested-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: David Howells <dhowells@redhat.com
cc: Thomas Gleixner <tglx@linutronix.de>
cc: Steven Rostedt <rostedt@goodmis.org>
cc: Ingo Molnar <mingo@kernel.org>
cc: "H. Peter Anvin" <hpa@zytor.com>
cc: x86@kernel.org

Gbp-Pq: Topic features/all/lockdown
Gbp-Pq: Name 0022-x86-mmiotrace-Lock-down-the-testmmiotrace-module.patch
arch/x86/mm/testmmiotrace.c